package org.example;

import org.activiti.engine.ProcessEngine;
import org.activiti.engine.ProcessEngines;

/**
 * @author Tang
 * @classname NoContext
 * @description [  ]
 * @date 2023/5/10 22:55
 */
public class NoContext {

    /**
     * 生成Activiti的相关的表结构
     * @param args
     */
    public static void main(String[] args) {
        // 使用classpath下的activiti.cfg.xml中的配置来创建 ProcessEngine对象
        final ProcessEngine engine = ProcessEngines.getDefaultProcessEngine();
        System.out.println(engine);
    }

}
